﻿<%@ Page Title="" Language="C#" MasterPageFile="~/front.master" AutoEventWireup="true" CodeFile="lien-he.aspx.cs" Inherits="lien_he" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Liên hệ</title>
    <script type="text/javascript">
        $(function () {
            $(".headerR li:eq(5)").addClass("active");
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="body">
    <div class="bodyL">
        <p class="gOval"><a href="#" class="lienhe"></a></p>                
    </div>
           
    <div class="bodyR">
        <div class="topCat">
            <p class="l"></p>
            <div class="m">
                <p class="pos">
                    <a href="#">Thông tin liên hệ</a>
                </p>
            </div>            
            <p class="r"></p>
        </div>
        <div class="boxBorder1">
             <div class="txtLienHe">
                <asp:Literal ID="litLienHe" runat="server"></asp:Literal>
            </div>
            <div class="hrBox">
                <img src="../images/bul2.png" /> Hoặc điền đầy đủ thông tin vào Form dưới đây. Chúng tôi sẽ phản hồi ý kiến của bạn nhanh nhất có thể.
            </div>
            
           
            <div class="boundInfo">
                <p class="red" style="margin-left:20px;">
                    <asp:Label ID="lblMes" runat="server" Text=""></asp:Label>
                </p>
                <p class="colLeft">Họ và tên: </p><p class="colRight"><asp:TextBox ID="txtHoTen" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtHoTen" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                </p>
                <p class="colLeft">Email: </p><p class="colRight"><asp:TextBox ID="txtEmail" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="Không đúng định dạng email" 
                    SetFocusOnError="True" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="send">Không đúng định dạng email</asp:RegularExpressionValidator>
                </p>
                <p class="colLeft">Công ty: </p><p class="colRight"><asp:TextBox ID="txtCongTy" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtCongTy" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                </p>
                <p class="colLeft">Địa chỉ công ty: </p><p class="colRight"><asp:TextBox ID="txtDCCty" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtDCCty" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                </p>
                <p class="colLeft">Điện thoại: </p><p class="colRight"><asp:TextBox ID="txtDT" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txtDT" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                </p>
                <p class="colLeft">Nội dung liên hệ: </p><p class="colRight"><asp:TextBox ID="txtNoiDung" runat="server" CssClass="textbox" Width="620px" Height="130px" TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txtNoiDung" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                </p>
                <p class="colLeft"></p><p class="colRight">
                    <asp:Button ID="btnGuiLienHe" runat="server" Text="Gửi liên hệ" CssClass="button" 
                        onclick="btnGuiLienHe_Click" ValidationGroup="send" /></p>
            </div>
        </div>

    </div>
</div>
</asp:Content>

